package com.tyg.service;

import com.tyg.entity.NoticeInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-11-01
 */
public interface NoticeInfoService extends IService<NoticeInfo> {

    public List<NoticeInfo> getNoticeList();

    public NoticeInfo selectById(Integer id);

    public List<NoticeInfo> getNoticeListManager(Map<String,Object> map);

    public int insert(NoticeInfo notice);

    public boolean updateById(NoticeInfo notice);

    public NoticeInfo retract(Integer id);
}
